//
//  SaleTicketViewModel.h
//  didacar
//
//  Created by 度周末网络-王腾 on 15/12/28.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import "BaseViewModel.h"
#import "CouponEntity.h"

@interface SaleTicketViewModel : BaseViewModel

// 选择的优惠券下标
@property (nonatomic , assign) NSInteger selectedTicketIndex;

@property (nonatomic , strong) NSMutableArray *saleTickets;

// 线路类型 1-上下班 2-直通车
@property (nonatomic , assign) NSInteger LineType;

@property (nonatomic , strong) NSString *SendTime;

// 订单金额
@property (nonatomic , strong) NSDecimalNumber *OrderAmount;




/**
 *  获取用户可用的优惠券
 *
 *  @param resultBlock
 */
-(void)getMemberCouponsAll:(DealDataResultBlock)resultBlock;

/**
 *  获取下单可用的优惠券
 *
 *  @param resultBlock
 */
-(void)getMemberCouponsForOrder:(DealDataResultBlock)resultBlock;

@end
